package com.xgp.function;

import java.util.function.Consumer;

public class Demo3 {
    public static void main(String[] args) {
        Consumer<String> consumer = str -> System.out.println(str);

        consumer.accept("adsa");
    }
}
